package com.fingard.dsp.bank.directbank.bankInterface;

import com.fingard.dsp.bank.reqrespobj.qrpay.ReqGenQRInfo;
import com.fingard.dsp.bank.reqrespobj.qrpay.RetAtsGenQRInfo;
import com.fingard.dsp.bank.reqrespobj.unifiedorder.ReqQueryOrder;
import com.fingard.dsp.bank.reqrespobj.unifiedorder.ReqUnifiedOrder;
import com.fingard.dsp.bank.reqrespobj.unifiedorder.RetAtsQueryOrder;
import com.fingard.dsp.bank.reqrespobj.unifiedorder.RetAtsUnifiedOrder;

/**
 * 扫码付(支持：普通扫码、一码付)
 */
public interface IQRPay {
    /**
     * 获取二维码(本地生成)
     *
     * @param p_req
     * @return
     */
	RetAtsGenQRInfo genQRInfo(ReqGenQRInfo p_req);

	/**
     * 获取二维码(第三方生成)
     *
     * @param p_req
     * @return
     */
	RetAtsUnifiedOrder submitQROrder(ReqUnifiedOrder p_req);

    /**
     * 订单状态查询
     *
     * @param p_req
     * @return
     */
	RetAtsQueryOrder queryQRPay(ReqQueryOrder p_req);
}